package com.imooc.trading_system.mapper;

import com.imooc.trading_system.model.OrderBaseDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.trading_system.vo.order.GetMyOrderReqVO;
import com.imooc.trading_system.vo.order.GetMyOrderRespVO;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Feng zhaoxi
 * @since 2022-04-28
 */
public interface OrderBaseMapper extends BaseMapper<OrderBaseDO> {

    /**
     * 获取我的订单
     *
     * @param getMyOrderReqVO
     * @return
     */
    List<OrderBaseDO> getMyOrder(GetMyOrderReqVO getMyOrderReqVO);
}
